//
//  APIOneRank.h
//  Bracelet
//
//  Created by jing zhao on 2/16/15.
//  Copyright (c) 2015 jing zhao. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface APIPaper : NSObject

@property (unsafe_unretained, nonatomic) int pageNo;
@property (unsafe_unretained, nonatomic) int pageSize;
@property (unsafe_unretained, nonatomic) int startRow;
@property (unsafe_unretained, nonatomic) int totalPages;
@property (unsafe_unretained, nonatomic) int totalRows;

+(instancetype)apiFromDictionaryPaper:(NSDictionary*)dic;
@end
@interface APIOneRank : NSObject
@property (unsafe_unretained, nonatomic) NSInteger rankNumber;
@property (copy, nonatomic) NSString*              totalRunMetres;
@property (copy, nonatomic) NSString*              userId;
@property (copy, nonatomic) NSString*              userName;
+(instancetype)apiFromDictionaryRankOnePeople:(NSDictionary*)dic;
@end
